package cn.iocoder.yudao.module.resource.controller.admin.tag.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 标签新增/修改 Request VO")
@Data
public class TagSaveReqVO {

    @Schema(description = "唯一自增id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27224")
    private Integer id;

    @Schema(description = "签名名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "签名名字不能为空")
    private String tagName;

    @Schema(description = "分类id，0表示无分类", requiredMode = Schema.RequiredMode.REQUIRED, example = "10929")
    @NotNull(message = "分类id，0表示无分类不能为空")
    private Integer classifyId;

}